//
//  ZWFirstModel.m
//  WanEr
//
//  Created by 高文萍 on 16/1/14.
//  Copyright © 2016年 ziwokeji. All rights reserved.
//

#import "ZWFirstModel.h"

@implementation ZWFirstModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]){
        
        
        if ([value isKindOfClass:[NSString class]]) {
            self.equipId = value;
            
        }else  {
            
            NSNumber *idNum = value;
            NSString *idStr = [idNum stringValue];
            self.equipId = idStr;
        }
    }
}

@end
